package lab02.text22;

public class Text {
    public static void main(String[] args) {
        String result="hello,word!123";
        char tmp;
        int i;
        for(i=0;i<=result.length();i++){
            tmp=result.charAt(i);
            if (tmp>='A'&&tmp<='Z'){
                System.out.println((char)(tmp+32));
            }else if (tmp>='0'&&tmp <='9'){
                System.out.println(0);
            }else if(tmp>='a'&&tmp<='z'){
                System.out.println(tmp);
            }else{
                System.out.println("#");
            }
        }
    }
}
